import request from '@/utils/request'



export function equationMaintainList(data) { //公式维护-列表
  return request({
    url: '/maintenance-management/api/materials/daily/model/page',
    method: 'post',
    data
  })
}


export function equationMaintainAdd(data) { //公式维护-新增
  return request({
    url: '/maintenance-management/api/materials/daily/model/add',
    method: 'post',
    data
  })
}

export function equationMaintainEdit(data) { //公式维护-编辑
  return request({
    url: '/maintenance-management/api/materials/daily/model/edit',
    method: 'post',
    data
  })
}

export function equationMaintainDelete(id) { //公式维护-删除
  return request({
    url: '/maintenance-management/api/materials/daily/model/del/' + id,
    method: 'get',
  })
}


export function equationMaintainDetails(id) { //公式维护-详情
  return request({
    url: '/maintenance-management/api/materials/daily/model/' + id,
    method: 'get',
  })
}


